package tk1.uebung05.server;

import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;
import java.sql.Timestamp;
import java.util.Date;

public class Server {

	public static void main(String[] args) throws IOException{
		
		int port = 11111;
        ServerSocket serverSocket = new ServerSocket(port);
        
        while(true){
        	Socket socket = serverSocket.accept();
        	ServerNTPThread ntpThread = new ServerNTPThread(socket);
        	ntpThread.start();
        }
        
	}
}
